import App from './App'
import util from '@/common/util.js'
// #ifndef VUE3
// 引入全局uView
import uView from 'uview-ui'
import Vue from 'vue'
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
    ...App
})

Vue.prototype.$DIOWININFO = uni.getWindowInfo();
Vue.prototype.$util = util;

Vue.use(uView);
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif